import pandas as pd

nodes = pd.read_csv('./Graph500/Graph500_nodes.csv')
nodes.rename(columns={'ID': 'id:ID', 'LABEL': 'label:INT'}, inplace=True)
nodes['feature:STRING'] = ''
nodes = nodes[['id:ID', 'feature:STRING', 'label:INT']]
nodes.to_csv('./Graph500/Graph500_nodes.csv', index=False)


edges = pd.read_csv('./Graph500/Graph500_edges.csv')
edges[':TYPE'] = 'CONNECTED_TO'
edges.rename(columns={'START_ID': ':START_ID', 'END_ID': ':END_ID'}, inplace=True)
edges = edges[[':START_ID', ':END_ID', ':TYPE']]
edges.to_csv('./Graph500/Graph500_edges.csv', index=False)